package one.stand.model;

import java.io.Serializable;
import java.util.Date;

public class Demand implements Serializable {
    private Integer demandId;

    private Integer companyId;

    private Integer cardId;

    private String log;

    private String name;

    private String phone;

    private String text;

    private Date createTime;

    private Integer isDel;

    private static final long serialVersionUID = 1L;

    public Demand(Integer demandId, Integer companyId, Integer cardId, String log, String name, String phone, String text, Date createTime, Integer isDel) {
        this.demandId = demandId;
        this.companyId = companyId;
        this.cardId = cardId;
        this.log = log;
        this.name = name;
        this.phone = phone;
        this.text = text;
        this.createTime = createTime;
        this.isDel = isDel;
    }

    public Demand() {
        super();
    }

    public Integer getDemandId() {
        return demandId;
    }

    public void setDemandId(Integer demandId) {
        this.demandId = demandId;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public Integer getCardId() {
        return cardId;
    }

    public void setCardId(Integer cardId) {
        this.cardId = cardId;
    }

    public String getLog() {
        return log;
    }

    public void setLog(String log) {
        this.log = log == null ? null : log.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text == null ? null : text.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }
}